package com.sghd.football.module.game.service.model;

import java.util.*;

public enum Medal {
    M_FIRST, M_SECOND, M_THIRD, M_FOURTH;

    /**获取一个小戏的结果*/
    public static List<Integer> get() {
        List<Integer> result = new ArrayList<>();
        for (Medal country : Medal.values()) {
            for (int i = 0; i < 3; i++) {
                result.add(country.ordinal());
            }
        }
        Collections.shuffle(result);
        return result.subList(0, 9);
    }
}
